﻿namespace WMS6.Web.BaseInfoServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Runtime.CompilerServices;
    using System.Runtime.Serialization;

    [Serializable, DebuggerStepThrough, GeneratedCode("System.Runtime.Serialization", "3.0.0.0"), DataContract(Name="LotTemplateInfo", Namespace="http://schemas.datacontract.org/2004/07/WMS6.DataEntity")]
    public class LotTemplateInfo : IExtensibleDataObject, INotifyPropertyChanged
    {
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private DateTime CreatedDateField;
        [OptionalField]
        private string DescriptionField;
        [OptionalField]
        private string ExpiryDateLabelField;
        [OptionalField]
        private string ExpiryDateMandatoryField;
        [OptionalField]
        private int ExpiryDateSeqnoField;
        [OptionalField]
        private string ExpiryDateVisibleField;
        [NonSerialized]
        private ExtensionDataObject extensionDataField;
        [OptionalField]
        private string ExternalLotLabelField;
        [OptionalField]
        private string ExternalLotMandatoryField;
        [OptionalField]
        private int ExternalLotSeqnoField;
        [OptionalField]
        private string ExternalLotVisibleField;
        [OptionalField]
        private string IsActiveField;
        [OptionalField]
        private string LotAttr01LabelField;
        [OptionalField]
        private string LotAttr01MandatoryField;
        [OptionalField]
        private int LotAttr01SeqnoField;
        [OptionalField]
        private string LotAttr01TypeField;
        [OptionalField]
        private string LotAttr01ValueField;
        [OptionalField]
        private string LotAttr01VisibleField;
        [OptionalField]
        private string LotAttr02LabelField;
        [OptionalField]
        private string LotAttr02MandatoryField;
        [OptionalField]
        private int LotAttr02SeqnoField;
        [OptionalField]
        private string LotAttr02TypeField;
        [OptionalField]
        private string LotAttr02ValueField;
        [OptionalField]
        private string LotAttr02VisibleField;
        [OptionalField]
        private string LotAttr03LabelField;
        [OptionalField]
        private string LotAttr03MandatoryField;
        [OptionalField]
        private int LotAttr03SeqnoField;
        [OptionalField]
        private string LotAttr03TypeField;
        [OptionalField]
        private string LotAttr03ValueField;
        [OptionalField]
        private string LotAttr03VisibleField;
        [OptionalField]
        private string LotAttr04LabelField;
        [OptionalField]
        private string LotAttr04MandatoryField;
        [OptionalField]
        private int LotAttr04SeqnoField;
        [OptionalField]
        private string LotAttr04TypeField;
        [OptionalField]
        private string LotAttr04ValueField;
        [OptionalField]
        private string LotAttr04VisibleField;
        [OptionalField]
        private string LotAttr05LabelField;
        [OptionalField]
        private string LotAttr05MandatoryField;
        [OptionalField]
        private int LotAttr05SeqnoField;
        [OptionalField]
        private string LotAttr05TypeField;
        [OptionalField]
        private string LotAttr05ValueField;
        [OptionalField]
        private string LotAttr05VisibleField;
        [OptionalField]
        private string LotAttr06LabelField;
        [OptionalField]
        private string LotAttr06MandatoryField;
        [OptionalField]
        private int LotAttr06SeqnoField;
        [OptionalField]
        private string LotAttr06TypeField;
        [OptionalField]
        private string LotAttr06ValueField;
        [OptionalField]
        private string LotAttr06VisibleField;
        [OptionalField]
        private string LotAttr07LabelField;
        [OptionalField]
        private string LotAttr07MandatoryField;
        [OptionalField]
        private int LotAttr07SeqnoField;
        [OptionalField]
        private string LotAttr07TypeField;
        [OptionalField]
        private string LotAttr07ValueField;
        [OptionalField]
        private string LotAttr07VisibleField;
        [OptionalField]
        private string LotAttr08LabelField;
        [OptionalField]
        private string LotAttr08MandatoryField;
        [OptionalField]
        private int LotAttr08SeqnoField;
        [OptionalField]
        private string LotAttr08TypeField;
        [OptionalField]
        private string LotAttr08ValueField;
        [OptionalField]
        private string LotAttr08VisibleField;
        [OptionalField]
        private string LotAttr09LabelField;
        [OptionalField]
        private string LotAttr09MandatoryField;
        [OptionalField]
        private int LotAttr09SeqnoField;
        [OptionalField]
        private string LotAttr09TypeField;
        [OptionalField]
        private string LotAttr09ValueField;
        [OptionalField]
        private string LotAttr09VisibleField;
        [OptionalField]
        private string LotAttr10LabelField;
        [OptionalField]
        private string LotAttr10MandatoryField;
        [OptionalField]
        private int LotAttr10SeqnoField;
        [OptionalField]
        private string LotAttr10TypeField;
        [OptionalField]
        private string LotAttr10ValueField;
        [OptionalField]
        private string LotAttr10VisibleField;
        [OptionalField]
        private string LotTemplateIDField;
        [OptionalField]
        private string ProduceDateLabelField;
        [OptionalField]
        private string ProduceDateMandatoryField;
        [OptionalField]
        private int ProduceDateSeqnoField;
        [OptionalField]
        private string ProduceDateVisibleField;
        [OptionalField]
        private string RfExpiryDateVisibleField;
        [OptionalField]
        private string RfExternalLotVisibleField;
        [OptionalField]
        private string RfLotAttr01VisibleField;
        [OptionalField]
        private string RfLotAttr02VisibleField;
        [OptionalField]
        private string RfLotAttr03VisibleField;
        [OptionalField]
        private string RfLotAttr04VisibleField;
        [OptionalField]
        private string RfLotAttr05VisibleField;
        [OptionalField]
        private string RfLotAttr06VisibleField;
        [OptionalField]
        private string RfLotAttr07VisibleField;
        [OptionalField]
        private string RfLotAttr08VisibleField;
        [OptionalField]
        private string RfLotAttr09VisibleField;
        [OptionalField]
        private string RfLotAttr10VisibleField;
        [OptionalField]
        private string RfProduceDateVisibleField;
        [OptionalField]
        private int RowIDField;
        [OptionalField]
        private string SystemCreatedField;
        [OptionalField]
        private byte[] TsField;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private DateTime UpdatedDateField;
        [OptionalField]
        private string WhIDField;

        public event PropertyChangedEventHandler PropertyChanged;

        protected void RaisePropertyChanged(string propertyName)
        {
            PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if (propertyChanged != null)
            {
                propertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    this.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public DateTime CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!this.CreatedDateField.Equals(value))
                {
                    this.CreatedDateField = value;
                    this.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public string Description
        {
            get
            {
                return this.DescriptionField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DescriptionField, value))
                {
                    this.DescriptionField = value;
                    this.RaisePropertyChanged("Description");
                }
            }
        }

        [DataMember]
        public string ExpiryDateLabel
        {
            get
            {
                return this.ExpiryDateLabelField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ExpiryDateLabelField, value))
                {
                    this.ExpiryDateLabelField = value;
                    this.RaisePropertyChanged("ExpiryDateLabel");
                }
            }
        }

        [DataMember]
        public string ExpiryDateMandatory
        {
            get
            {
                return this.ExpiryDateMandatoryField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ExpiryDateMandatoryField, value))
                {
                    this.ExpiryDateMandatoryField = value;
                    this.RaisePropertyChanged("ExpiryDateMandatory");
                }
            }
        }

        [DataMember]
        public int ExpiryDateSeqno
        {
            get
            {
                return this.ExpiryDateSeqnoField;
            }
            set
            {
                if (!this.ExpiryDateSeqnoField.Equals(value))
                {
                    this.ExpiryDateSeqnoField = value;
                    this.RaisePropertyChanged("ExpiryDateSeqno");
                }
            }
        }

        [DataMember]
        public string ExpiryDateVisible
        {
            get
            {
                return this.ExpiryDateVisibleField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ExpiryDateVisibleField, value))
                {
                    this.ExpiryDateVisibleField = value;
                    this.RaisePropertyChanged("ExpiryDateVisible");
                }
            }
        }

        [Browsable(false)]
        public ExtensionDataObject ExtensionData
        {
            get
            {
                return this.extensionDataField;
            }
            set
            {
                this.extensionDataField = value;
            }
        }

        [DataMember]
        public string ExternalLotLabel
        {
            get
            {
                return this.ExternalLotLabelField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ExternalLotLabelField, value))
                {
                    this.ExternalLotLabelField = value;
                    this.RaisePropertyChanged("ExternalLotLabel");
                }
            }
        }

        [DataMember]
        public string ExternalLotMandatory
        {
            get
            {
                return this.ExternalLotMandatoryField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ExternalLotMandatoryField, value))
                {
                    this.ExternalLotMandatoryField = value;
                    this.RaisePropertyChanged("ExternalLotMandatory");
                }
            }
        }

        [DataMember]
        public int ExternalLotSeqno
        {
            get
            {
                return this.ExternalLotSeqnoField;
            }
            set
            {
                if (!this.ExternalLotSeqnoField.Equals(value))
                {
                    this.ExternalLotSeqnoField = value;
                    this.RaisePropertyChanged("ExternalLotSeqno");
                }
            }
        }

        [DataMember]
        public string ExternalLotVisible
        {
            get
            {
                return this.ExternalLotVisibleField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ExternalLotVisibleField, value))
                {
                    this.ExternalLotVisibleField = value;
                    this.RaisePropertyChanged("ExternalLotVisible");
                }
            }
        }

        [DataMember]
        public string IsActive
        {
            get
            {
                return this.IsActiveField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IsActiveField, value))
                {
                    this.IsActiveField = value;
                    this.RaisePropertyChanged("IsActive");
                }
            }
        }

        [DataMember]
        public string LotAttr01Label
        {
            get
            {
                return this.LotAttr01LabelField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr01LabelField, value))
                {
                    this.LotAttr01LabelField = value;
                    this.RaisePropertyChanged("LotAttr01Label");
                }
            }
        }

        [DataMember]
        public string LotAttr01Mandatory
        {
            get
            {
                return this.LotAttr01MandatoryField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr01MandatoryField, value))
                {
                    this.LotAttr01MandatoryField = value;
                    this.RaisePropertyChanged("LotAttr01Mandatory");
                }
            }
        }

        [DataMember]
        public int LotAttr01Seqno
        {
            get
            {
                return this.LotAttr01SeqnoField;
            }
            set
            {
                if (!this.LotAttr01SeqnoField.Equals(value))
                {
                    this.LotAttr01SeqnoField = value;
                    this.RaisePropertyChanged("LotAttr01Seqno");
                }
            }
        }

        [DataMember]
        public string LotAttr01Type
        {
            get
            {
                return this.LotAttr01TypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr01TypeField, value))
                {
                    this.LotAttr01TypeField = value;
                    this.RaisePropertyChanged("LotAttr01Type");
                }
            }
        }

        [DataMember]
        public string LotAttr01Value
        {
            get
            {
                return this.LotAttr01ValueField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr01ValueField, value))
                {
                    this.LotAttr01ValueField = value;
                    this.RaisePropertyChanged("LotAttr01Value");
                }
            }
        }

        [DataMember]
        public string LotAttr01Visible
        {
            get
            {
                return this.LotAttr01VisibleField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr01VisibleField, value))
                {
                    this.LotAttr01VisibleField = value;
                    this.RaisePropertyChanged("LotAttr01Visible");
                }
            }
        }

        [DataMember]
        public string LotAttr02Label
        {
            get
            {
                return this.LotAttr02LabelField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr02LabelField, value))
                {
                    this.LotAttr02LabelField = value;
                    this.RaisePropertyChanged("LotAttr02Label");
                }
            }
        }

        [DataMember]
        public string LotAttr02Mandatory
        {
            get
            {
                return this.LotAttr02MandatoryField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr02MandatoryField, value))
                {
                    this.LotAttr02MandatoryField = value;
                    this.RaisePropertyChanged("LotAttr02Mandatory");
                }
            }
        }

        [DataMember]
        public int LotAttr02Seqno
        {
            get
            {
                return this.LotAttr02SeqnoField;
            }
            set
            {
                if (!this.LotAttr02SeqnoField.Equals(value))
                {
                    this.LotAttr02SeqnoField = value;
                    this.RaisePropertyChanged("LotAttr02Seqno");
                }
            }
        }

        [DataMember]
        public string LotAttr02Type
        {
            get
            {
                return this.LotAttr02TypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr02TypeField, value))
                {
                    this.LotAttr02TypeField = value;
                    this.RaisePropertyChanged("LotAttr02Type");
                }
            }
        }

        [DataMember]
        public string LotAttr02Value
        {
            get
            {
                return this.LotAttr02ValueField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr02ValueField, value))
                {
                    this.LotAttr02ValueField = value;
                    this.RaisePropertyChanged("LotAttr02Value");
                }
            }
        }

        [DataMember]
        public string LotAttr02Visible
        {
            get
            {
                return this.LotAttr02VisibleField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr02VisibleField, value))
                {
                    this.LotAttr02VisibleField = value;
                    this.RaisePropertyChanged("LotAttr02Visible");
                }
            }
        }

        [DataMember]
        public string LotAttr03Label
        {
            get
            {
                return this.LotAttr03LabelField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr03LabelField, value))
                {
                    this.LotAttr03LabelField = value;
                    this.RaisePropertyChanged("LotAttr03Label");
                }
            }
        }

        [DataMember]
        public string LotAttr03Mandatory
        {
            get
            {
                return this.LotAttr03MandatoryField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr03MandatoryField, value))
                {
                    this.LotAttr03MandatoryField = value;
                    this.RaisePropertyChanged("LotAttr03Mandatory");
                }
            }
        }

        [DataMember]
        public int LotAttr03Seqno
        {
            get
            {
                return this.LotAttr03SeqnoField;
            }
            set
            {
                if (!this.LotAttr03SeqnoField.Equals(value))
                {
                    this.LotAttr03SeqnoField = value;
                    this.RaisePropertyChanged("LotAttr03Seqno");
                }
            }
        }

        [DataMember]
        public string LotAttr03Type
        {
            get
            {
                return this.LotAttr03TypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr03TypeField, value))
                {
                    this.LotAttr03TypeField = value;
                    this.RaisePropertyChanged("LotAttr03Type");
                }
            }
        }

        [DataMember]
        public string LotAttr03Value
        {
            get
            {
                return this.LotAttr03ValueField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr03ValueField, value))
                {
                    this.LotAttr03ValueField = value;
                    this.RaisePropertyChanged("LotAttr03Value");
                }
            }
        }

        [DataMember]
        public string LotAttr03Visible
        {
            get
            {
                return this.LotAttr03VisibleField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr03VisibleField, value))
                {
                    this.LotAttr03VisibleField = value;
                    this.RaisePropertyChanged("LotAttr03Visible");
                }
            }
        }

        [DataMember]
        public string LotAttr04Label
        {
            get
            {
                return this.LotAttr04LabelField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr04LabelField, value))
                {
                    this.LotAttr04LabelField = value;
                    this.RaisePropertyChanged("LotAttr04Label");
                }
            }
        }

        [DataMember]
        public string LotAttr04Mandatory
        {
            get
            {
                return this.LotAttr04MandatoryField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr04MandatoryField, value))
                {
                    this.LotAttr04MandatoryField = value;
                    this.RaisePropertyChanged("LotAttr04Mandatory");
                }
            }
        }

        [DataMember]
        public int LotAttr04Seqno
        {
            get
            {
                return this.LotAttr04SeqnoField;
            }
            set
            {
                if (!this.LotAttr04SeqnoField.Equals(value))
                {
                    this.LotAttr04SeqnoField = value;
                    this.RaisePropertyChanged("LotAttr04Seqno");
                }
            }
        }

        [DataMember]
        public string LotAttr04Type
        {
            get
            {
                return this.LotAttr04TypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr04TypeField, value))
                {
                    this.LotAttr04TypeField = value;
                    this.RaisePropertyChanged("LotAttr04Type");
                }
            }
        }

        [DataMember]
        public string LotAttr04Value
        {
            get
            {
                return this.LotAttr04ValueField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr04ValueField, value))
                {
                    this.LotAttr04ValueField = value;
                    this.RaisePropertyChanged("LotAttr04Value");
                }
            }
        }

        [DataMember]
        public string LotAttr04Visible
        {
            get
            {
                return this.LotAttr04VisibleField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr04VisibleField, value))
                {
                    this.LotAttr04VisibleField = value;
                    this.RaisePropertyChanged("LotAttr04Visible");
                }
            }
        }

        [DataMember]
        public string LotAttr05Label
        {
            get
            {
                return this.LotAttr05LabelField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr05LabelField, value))
                {
                    this.LotAttr05LabelField = value;
                    this.RaisePropertyChanged("LotAttr05Label");
                }
            }
        }

        [DataMember]
        public string LotAttr05Mandatory
        {
            get
            {
                return this.LotAttr05MandatoryField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr05MandatoryField, value))
                {
                    this.LotAttr05MandatoryField = value;
                    this.RaisePropertyChanged("LotAttr05Mandatory");
                }
            }
        }

        [DataMember]
        public int LotAttr05Seqno
        {
            get
            {
                return this.LotAttr05SeqnoField;
            }
            set
            {
                if (!this.LotAttr05SeqnoField.Equals(value))
                {
                    this.LotAttr05SeqnoField = value;
                    this.RaisePropertyChanged("LotAttr05Seqno");
                }
            }
        }

        [DataMember]
        public string LotAttr05Type
        {
            get
            {
                return this.LotAttr05TypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr05TypeField, value))
                {
                    this.LotAttr05TypeField = value;
                    this.RaisePropertyChanged("LotAttr05Type");
                }
            }
        }

        [DataMember]
        public string LotAttr05Value
        {
            get
            {
                return this.LotAttr05ValueField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr05ValueField, value))
                {
                    this.LotAttr05ValueField = value;
                    this.RaisePropertyChanged("LotAttr05Value");
                }
            }
        }

        [DataMember]
        public string LotAttr05Visible
        {
            get
            {
                return this.LotAttr05VisibleField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr05VisibleField, value))
                {
                    this.LotAttr05VisibleField = value;
                    this.RaisePropertyChanged("LotAttr05Visible");
                }
            }
        }

        [DataMember]
        public string LotAttr06Label
        {
            get
            {
                return this.LotAttr06LabelField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr06LabelField, value))
                {
                    this.LotAttr06LabelField = value;
                    this.RaisePropertyChanged("LotAttr06Label");
                }
            }
        }

        [DataMember]
        public string LotAttr06Mandatory
        {
            get
            {
                return this.LotAttr06MandatoryField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr06MandatoryField, value))
                {
                    this.LotAttr06MandatoryField = value;
                    this.RaisePropertyChanged("LotAttr06Mandatory");
                }
            }
        }

        [DataMember]
        public int LotAttr06Seqno
        {
            get
            {
                return this.LotAttr06SeqnoField;
            }
            set
            {
                if (!this.LotAttr06SeqnoField.Equals(value))
                {
                    this.LotAttr06SeqnoField = value;
                    this.RaisePropertyChanged("LotAttr06Seqno");
                }
            }
        }

        [DataMember]
        public string LotAttr06Type
        {
            get
            {
                return this.LotAttr06TypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr06TypeField, value))
                {
                    this.LotAttr06TypeField = value;
                    this.RaisePropertyChanged("LotAttr06Type");
                }
            }
        }

        [DataMember]
        public string LotAttr06Value
        {
            get
            {
                return this.LotAttr06ValueField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr06ValueField, value))
                {
                    this.LotAttr06ValueField = value;
                    this.RaisePropertyChanged("LotAttr06Value");
                }
            }
        }

        [DataMember]
        public string LotAttr06Visible
        {
            get
            {
                return this.LotAttr06VisibleField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr06VisibleField, value))
                {
                    this.LotAttr06VisibleField = value;
                    this.RaisePropertyChanged("LotAttr06Visible");
                }
            }
        }

        [DataMember]
        public string LotAttr07Label
        {
            get
            {
                return this.LotAttr07LabelField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr07LabelField, value))
                {
                    this.LotAttr07LabelField = value;
                    this.RaisePropertyChanged("LotAttr07Label");
                }
            }
        }

        [DataMember]
        public string LotAttr07Mandatory
        {
            get
            {
                return this.LotAttr07MandatoryField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr07MandatoryField, value))
                {
                    this.LotAttr07MandatoryField = value;
                    this.RaisePropertyChanged("LotAttr07Mandatory");
                }
            }
        }

        [DataMember]
        public int LotAttr07Seqno
        {
            get
            {
                return this.LotAttr07SeqnoField;
            }
            set
            {
                if (!this.LotAttr07SeqnoField.Equals(value))
                {
                    this.LotAttr07SeqnoField = value;
                    this.RaisePropertyChanged("LotAttr07Seqno");
                }
            }
        }

        [DataMember]
        public string LotAttr07Type
        {
            get
            {
                return this.LotAttr07TypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr07TypeField, value))
                {
                    this.LotAttr07TypeField = value;
                    this.RaisePropertyChanged("LotAttr07Type");
                }
            }
        }

        [DataMember]
        public string LotAttr07Value
        {
            get
            {
                return this.LotAttr07ValueField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr07ValueField, value))
                {
                    this.LotAttr07ValueField = value;
                    this.RaisePropertyChanged("LotAttr07Value");
                }
            }
        }

        [DataMember]
        public string LotAttr07Visible
        {
            get
            {
                return this.LotAttr07VisibleField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr07VisibleField, value))
                {
                    this.LotAttr07VisibleField = value;
                    this.RaisePropertyChanged("LotAttr07Visible");
                }
            }
        }

        [DataMember]
        public string LotAttr08Label
        {
            get
            {
                return this.LotAttr08LabelField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr08LabelField, value))
                {
                    this.LotAttr08LabelField = value;
                    this.RaisePropertyChanged("LotAttr08Label");
                }
            }
        }

        [DataMember]
        public string LotAttr08Mandatory
        {
            get
            {
                return this.LotAttr08MandatoryField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr08MandatoryField, value))
                {
                    this.LotAttr08MandatoryField = value;
                    this.RaisePropertyChanged("LotAttr08Mandatory");
                }
            }
        }

        [DataMember]
        public int LotAttr08Seqno
        {
            get
            {
                return this.LotAttr08SeqnoField;
            }
            set
            {
                if (!this.LotAttr08SeqnoField.Equals(value))
                {
                    this.LotAttr08SeqnoField = value;
                    this.RaisePropertyChanged("LotAttr08Seqno");
                }
            }
        }

        [DataMember]
        public string LotAttr08Type
        {
            get
            {
                return this.LotAttr08TypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr08TypeField, value))
                {
                    this.LotAttr08TypeField = value;
                    this.RaisePropertyChanged("LotAttr08Type");
                }
            }
        }

        [DataMember]
        public string LotAttr08Value
        {
            get
            {
                return this.LotAttr08ValueField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr08ValueField, value))
                {
                    this.LotAttr08ValueField = value;
                    this.RaisePropertyChanged("LotAttr08Value");
                }
            }
        }

        [DataMember]
        public string LotAttr08Visible
        {
            get
            {
                return this.LotAttr08VisibleField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr08VisibleField, value))
                {
                    this.LotAttr08VisibleField = value;
                    this.RaisePropertyChanged("LotAttr08Visible");
                }
            }
        }

        [DataMember]
        public string LotAttr09Label
        {
            get
            {
                return this.LotAttr09LabelField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr09LabelField, value))
                {
                    this.LotAttr09LabelField = value;
                    this.RaisePropertyChanged("LotAttr09Label");
                }
            }
        }

        [DataMember]
        public string LotAttr09Mandatory
        {
            get
            {
                return this.LotAttr09MandatoryField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr09MandatoryField, value))
                {
                    this.LotAttr09MandatoryField = value;
                    this.RaisePropertyChanged("LotAttr09Mandatory");
                }
            }
        }

        [DataMember]
        public int LotAttr09Seqno
        {
            get
            {
                return this.LotAttr09SeqnoField;
            }
            set
            {
                if (!this.LotAttr09SeqnoField.Equals(value))
                {
                    this.LotAttr09SeqnoField = value;
                    this.RaisePropertyChanged("LotAttr09Seqno");
                }
            }
        }

        [DataMember]
        public string LotAttr09Type
        {
            get
            {
                return this.LotAttr09TypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr09TypeField, value))
                {
                    this.LotAttr09TypeField = value;
                    this.RaisePropertyChanged("LotAttr09Type");
                }
            }
        }

        [DataMember]
        public string LotAttr09Value
        {
            get
            {
                return this.LotAttr09ValueField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr09ValueField, value))
                {
                    this.LotAttr09ValueField = value;
                    this.RaisePropertyChanged("LotAttr09Value");
                }
            }
        }

        [DataMember]
        public string LotAttr09Visible
        {
            get
            {
                return this.LotAttr09VisibleField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr09VisibleField, value))
                {
                    this.LotAttr09VisibleField = value;
                    this.RaisePropertyChanged("LotAttr09Visible");
                }
            }
        }

        [DataMember]
        public string LotAttr10Label
        {
            get
            {
                return this.LotAttr10LabelField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr10LabelField, value))
                {
                    this.LotAttr10LabelField = value;
                    this.RaisePropertyChanged("LotAttr10Label");
                }
            }
        }

        [DataMember]
        public string LotAttr10Mandatory
        {
            get
            {
                return this.LotAttr10MandatoryField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr10MandatoryField, value))
                {
                    this.LotAttr10MandatoryField = value;
                    this.RaisePropertyChanged("LotAttr10Mandatory");
                }
            }
        }

        [DataMember]
        public int LotAttr10Seqno
        {
            get
            {
                return this.LotAttr10SeqnoField;
            }
            set
            {
                if (!this.LotAttr10SeqnoField.Equals(value))
                {
                    this.LotAttr10SeqnoField = value;
                    this.RaisePropertyChanged("LotAttr10Seqno");
                }
            }
        }

        [DataMember]
        public string LotAttr10Type
        {
            get
            {
                return this.LotAttr10TypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr10TypeField, value))
                {
                    this.LotAttr10TypeField = value;
                    this.RaisePropertyChanged("LotAttr10Type");
                }
            }
        }

        [DataMember]
        public string LotAttr10Value
        {
            get
            {
                return this.LotAttr10ValueField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr10ValueField, value))
                {
                    this.LotAttr10ValueField = value;
                    this.RaisePropertyChanged("LotAttr10Value");
                }
            }
        }

        [DataMember]
        public string LotAttr10Visible
        {
            get
            {
                return this.LotAttr10VisibleField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr10VisibleField, value))
                {
                    this.LotAttr10VisibleField = value;
                    this.RaisePropertyChanged("LotAttr10Visible");
                }
            }
        }

        [DataMember]
        public string LotTemplateID
        {
            get
            {
                return this.LotTemplateIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotTemplateIDField, value))
                {
                    this.LotTemplateIDField = value;
                    this.RaisePropertyChanged("LotTemplateID");
                }
            }
        }

        [DataMember]
        public string ProduceDateLabel
        {
            get
            {
                return this.ProduceDateLabelField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ProduceDateLabelField, value))
                {
                    this.ProduceDateLabelField = value;
                    this.RaisePropertyChanged("ProduceDateLabel");
                }
            }
        }

        [DataMember]
        public string ProduceDateMandatory
        {
            get
            {
                return this.ProduceDateMandatoryField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ProduceDateMandatoryField, value))
                {
                    this.ProduceDateMandatoryField = value;
                    this.RaisePropertyChanged("ProduceDateMandatory");
                }
            }
        }

        [DataMember]
        public int ProduceDateSeqno
        {
            get
            {
                return this.ProduceDateSeqnoField;
            }
            set
            {
                if (!this.ProduceDateSeqnoField.Equals(value))
                {
                    this.ProduceDateSeqnoField = value;
                    this.RaisePropertyChanged("ProduceDateSeqno");
                }
            }
        }

        [DataMember]
        public string ProduceDateVisible
        {
            get
            {
                return this.ProduceDateVisibleField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ProduceDateVisibleField, value))
                {
                    this.ProduceDateVisibleField = value;
                    this.RaisePropertyChanged("ProduceDateVisible");
                }
            }
        }

        [DataMember]
        public string RfExpiryDateVisible
        {
            get
            {
                return this.RfExpiryDateVisibleField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RfExpiryDateVisibleField, value))
                {
                    this.RfExpiryDateVisibleField = value;
                    this.RaisePropertyChanged("RfExpiryDateVisible");
                }
            }
        }

        [DataMember]
        public string RfExternalLotVisible
        {
            get
            {
                return this.RfExternalLotVisibleField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RfExternalLotVisibleField, value))
                {
                    this.RfExternalLotVisibleField = value;
                    this.RaisePropertyChanged("RfExternalLotVisible");
                }
            }
        }

        [DataMember]
        public string RfLotAttr01Visible
        {
            get
            {
                return this.RfLotAttr01VisibleField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RfLotAttr01VisibleField, value))
                {
                    this.RfLotAttr01VisibleField = value;
                    this.RaisePropertyChanged("RfLotAttr01Visible");
                }
            }
        }

        [DataMember]
        public string RfLotAttr02Visible
        {
            get
            {
                return this.RfLotAttr02VisibleField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RfLotAttr02VisibleField, value))
                {
                    this.RfLotAttr02VisibleField = value;
                    this.RaisePropertyChanged("RfLotAttr02Visible");
                }
            }
        }

        [DataMember]
        public string RfLotAttr03Visible
        {
            get
            {
                return this.RfLotAttr03VisibleField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RfLotAttr03VisibleField, value))
                {
                    this.RfLotAttr03VisibleField = value;
                    this.RaisePropertyChanged("RfLotAttr03Visible");
                }
            }
        }

        [DataMember]
        public string RfLotAttr04Visible
        {
            get
            {
                return this.RfLotAttr04VisibleField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RfLotAttr04VisibleField, value))
                {
                    this.RfLotAttr04VisibleField = value;
                    this.RaisePropertyChanged("RfLotAttr04Visible");
                }
            }
        }

        [DataMember]
        public string RfLotAttr05Visible
        {
            get
            {
                return this.RfLotAttr05VisibleField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RfLotAttr05VisibleField, value))
                {
                    this.RfLotAttr05VisibleField = value;
                    this.RaisePropertyChanged("RfLotAttr05Visible");
                }
            }
        }

        [DataMember]
        public string RfLotAttr06Visible
        {
            get
            {
                return this.RfLotAttr06VisibleField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RfLotAttr06VisibleField, value))
                {
                    this.RfLotAttr06VisibleField = value;
                    this.RaisePropertyChanged("RfLotAttr06Visible");
                }
            }
        }

        [DataMember]
        public string RfLotAttr07Visible
        {
            get
            {
                return this.RfLotAttr07VisibleField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RfLotAttr07VisibleField, value))
                {
                    this.RfLotAttr07VisibleField = value;
                    this.RaisePropertyChanged("RfLotAttr07Visible");
                }
            }
        }

        [DataMember]
        public string RfLotAttr08Visible
        {
            get
            {
                return this.RfLotAttr08VisibleField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RfLotAttr08VisibleField, value))
                {
                    this.RfLotAttr08VisibleField = value;
                    this.RaisePropertyChanged("RfLotAttr08Visible");
                }
            }
        }

        [DataMember]
        public string RfLotAttr09Visible
        {
            get
            {
                return this.RfLotAttr09VisibleField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RfLotAttr09VisibleField, value))
                {
                    this.RfLotAttr09VisibleField = value;
                    this.RaisePropertyChanged("RfLotAttr09Visible");
                }
            }
        }

        [DataMember]
        public string RfLotAttr10Visible
        {
            get
            {
                return this.RfLotAttr10VisibleField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RfLotAttr10VisibleField, value))
                {
                    this.RfLotAttr10VisibleField = value;
                    this.RaisePropertyChanged("RfLotAttr10Visible");
                }
            }
        }

        [DataMember]
        public string RfProduceDateVisible
        {
            get
            {
                return this.RfProduceDateVisibleField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RfProduceDateVisibleField, value))
                {
                    this.RfProduceDateVisibleField = value;
                    this.RaisePropertyChanged("RfProduceDateVisible");
                }
            }
        }

        [DataMember]
        public int RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!this.RowIDField.Equals(value))
                {
                    this.RowIDField = value;
                    this.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string SystemCreated
        {
            get
            {
                return this.SystemCreatedField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SystemCreatedField, value))
                {
                    this.SystemCreatedField = value;
                    this.RaisePropertyChanged("SystemCreated");
                }
            }
        }

        [DataMember]
        public byte[] Ts
        {
            get
            {
                return this.TsField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TsField, value))
                {
                    this.TsField = value;
                    this.RaisePropertyChanged("Ts");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    this.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public DateTime UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!this.UpdatedDateField.Equals(value))
                {
                    this.UpdatedDateField = value;
                    this.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string WhID
        {
            get
            {
                return this.WhIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhIDField, value))
                {
                    this.WhIDField = value;
                    this.RaisePropertyChanged("WhID");
                }
            }
        }
    }
}

